package com.crk.yiyuanguahao.service;

import com.crk.yiyuanguahao.entity.Org;
import com.crk.yiyuanguahao.util.Page;
import com.crk.yiyuanguahao.util.ResponseResult;

import java.util.List;

/**
 * @author
 * @description:
 * @date 2020/3/26
 */
public interface OrgService {

    public ResponseResult saveOrg(Org org);

    public ResponseResult deleteOrg(Integer id);

    public ResponseResult getOrg(Integer id);

    public ResponseResult queryOrgPage(String orgName,Page pageInfo);

    List<Org> queryOrgAll();

    public ResponseResult getOrgChildrenList();
}
